using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace NCP.Model
{
    [Serializable]
    [SugarTable("LimitDrug")]
    public partial class LimitDrug : BaseModel2
    {
        /// <summary>
        /// 限制类型 1 按科室 2 按患者主键
        /// </summary>
        [SugarColumn(ColumnName = "Type")]
        public string Type { get; set; }

        /// <summary>
        /// 科室编码或患者住院号 主键
        /// </summary>
        [SugarColumn(ColumnName = "Code")]
        public string Code { get; set; }

        /// <summary>
        /// 药品编码
        /// </summary>
        [SugarColumn(ColumnName = "DrugCode")]
        public string DrugCode { get; set; }

        /// <summary>
        /// 限制或放开 1限制2放开
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public string Status { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string Name { get; set; }
    }
}